/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package slcu.service;

import com.liferay.portal.service.ServiceWrapper;

/**
 * <p>
 * This class is a wrapper for {@link DeportistaLocalService}.
 * </p>
 *
 * @author    tito
 * @see       DeportistaLocalService
 * @generated
 */
public class DeportistaLocalServiceWrapper implements DeportistaLocalService,
	ServiceWrapper<DeportistaLocalService> {
	public DeportistaLocalServiceWrapper(
		DeportistaLocalService deportistaLocalService) {
		_deportistaLocalService = deportistaLocalService;
	}

	/**
	* Adds the Deportista to the database. Also notifies the appropriate model listeners.
	*
	* @param deportista the Deportista
	* @return the Deportista that was added
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista addDeportista(slcu.model.Deportista deportista)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.addDeportista(deportista);
	}

	/**
	* Creates a new Deportista with the primary key. Does not add the Deportista to the database.
	*
	* @param deportistaId the primary key for the new Deportista
	* @return the new Deportista
	*/
	public slcu.model.Deportista createDeportista(long deportistaId) {
		return _deportistaLocalService.createDeportista(deportistaId);
	}

	/**
	* Deletes the Deportista with the primary key from the database. Also notifies the appropriate model listeners.
	*
	* @param deportistaId the primary key of the Deportista
	* @return the Deportista that was removed
	* @throws PortalException if a Deportista with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista deleteDeportista(long deportistaId)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.deleteDeportista(deportistaId);
	}

	/**
	* Deletes the Deportista from the database. Also notifies the appropriate model listeners.
	*
	* @param deportista the Deportista
	* @return the Deportista that was removed
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista deleteDeportista(
		slcu.model.Deportista deportista)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.deleteDeportista(deportista);
	}

	public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
		return _deportistaLocalService.dynamicQuery();
	}

	/**
	* Performs a dynamic query on the database and returns the matching rows.
	*
	* @param dynamicQuery the dynamic query
	* @return the matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.dynamicQuery(dynamicQuery);
	}

	/**
	* Performs a dynamic query on the database and returns a range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query
	* @param start the lower bound of the range of model instances
	* @param end the upper bound of the range of model instances (not inclusive)
	* @return the range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.dynamicQuery(dynamicQuery, start, end);
	}

	/**
	* Performs a dynamic query on the database and returns an ordered range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query
	* @param start the lower bound of the range of model instances
	* @param end the upper bound of the range of model instances (not inclusive)
	* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
	* @return the ordered range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.dynamicQuery(dynamicQuery, start, end,
			orderByComparator);
	}

	/**
	* Returns the number of rows that match the dynamic query.
	*
	* @param dynamicQuery the dynamic query
	* @return the number of rows that match the dynamic query
	* @throws SystemException if a system exception occurred
	*/
	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.dynamicQueryCount(dynamicQuery);
	}

	public slcu.model.Deportista fetchDeportista(long deportistaId)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.fetchDeportista(deportistaId);
	}

	/**
	* Returns the Deportista with the primary key.
	*
	* @param deportistaId the primary key of the Deportista
	* @return the Deportista
	* @throws PortalException if a Deportista with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista getDeportista(long deportistaId)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.getDeportista(deportistaId);
	}

	public com.liferay.portal.model.PersistedModel getPersistedModel(
		java.io.Serializable primaryKeyObj)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.getPersistedModel(primaryKeyObj);
	}

	/**
	* Returns a range of all the Deportistas.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param start the lower bound of the range of Deportistas
	* @param end the upper bound of the range of Deportistas (not inclusive)
	* @return the range of Deportistas
	* @throws SystemException if a system exception occurred
	*/
	public java.util.List<slcu.model.Deportista> getDeportistas(int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.getDeportistas(start, end);
	}

	/**
	* Returns the number of Deportistas.
	*
	* @return the number of Deportistas
	* @throws SystemException if a system exception occurred
	*/
	public int getDeportistasCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.getDeportistasCount();
	}

	/**
	* Updates the Deportista in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
	*
	* @param deportista the Deportista
	* @return the Deportista that was updated
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista updateDeportista(
		slcu.model.Deportista deportista)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.updateDeportista(deportista);
	}

	/**
	* Updates the Deportista in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
	*
	* @param deportista the Deportista
	* @param merge whether to merge the Deportista with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
	* @return the Deportista that was updated
	* @throws SystemException if a system exception occurred
	*/
	public slcu.model.Deportista updateDeportista(
		slcu.model.Deportista deportista, boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.updateDeportista(deportista, merge);
	}

	/**
	* Returns the Spring bean ID for this bean.
	*
	* @return the Spring bean ID for this bean
	*/
	public java.lang.String getBeanIdentifier() {
		return _deportistaLocalService.getBeanIdentifier();
	}

	/**
	* Sets the Spring bean ID for this bean.
	*
	* @param beanIdentifier the Spring bean ID for this bean
	*/
	public void setBeanIdentifier(java.lang.String beanIdentifier) {
		_deportistaLocalService.setBeanIdentifier(beanIdentifier);
	}

	public java.lang.Object invokeMethod(java.lang.String name,
		java.lang.String[] parameterTypes, java.lang.Object[] arguments)
		throws java.lang.Throwable {
		return _deportistaLocalService.invokeMethod(name, parameterTypes,
			arguments);
	}

	public slcu.model.Deportista insertarDeportista(
		slcu.model.Deportista deportista, com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.insertarDeportista(deportista, user);
	}

	public slcu.model.Deportista registrarDeportista(slcu.model.Alumno alumno,
		com.liferay.portal.model.User user, boolean prevApproved,
		boolean dejarPendiente)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.registrarDeportista(alumno, user,
			prevApproved, dejarPendiente);
	}

	public slcu.model.Deportista desregistrarDeportista(
		slcu.model.Deportista deportista, com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.desregistrarDeportista(deportista, user);
	}

	public slcu.model.Deportista habilitarDeportista(
		slcu.model.Deportista deportista, com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.SystemException,
			slcu.DeportistaAlreadyEnabledException,
			slcu.NoSuchDeportistaException {
		return _deportistaLocalService.habilitarDeportista(deportista, user);
	}

	public slcu.model.Deportista rechazarDeportista(
		slcu.model.Deportista deportista, java.lang.String comment,
		com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.rechazarDeportista(deportista, comment,
			user);
	}

	public slcu.model.Deportista volverAPendiente(
		slcu.model.Deportista deportista, com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException,
			slcu.DeportistaAlreadyApprovedException {
		return _deportistaLocalService.volverAPendiente(deportista, user);
	}

	public slcu.model.Deportista volverARegistrar(
		slcu.model.Deportista deportista, java.lang.String comment,
		com.liferay.portal.model.User user)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException,
			slcu.DeportistaAlreadyApprovedException {
		return _deportistaLocalService.volverARegistrar(deportista, comment,
			user);
	}

	public boolean estaRechazado(java.lang.String dni)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.estaRechazado(dni);
	}

	public slcu.model.Deportista getFirstByDNI(java.lang.String dni)
		throws com.liferay.portal.kernel.exception.SystemException,
			slcu.NoSuchDeportistaException {
		return _deportistaLocalService.getFirstByDNI(dni);
	}

	public java.util.List<slcu.model.Deportista> findByInscripcionUserId(
		long userId, int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.findByInscripcionUserId(userId, start,
			end);
	}

	public int countByInscripcionUserId(long userId)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.countByInscripcionUserId(userId);
	}

	public java.util.List<slcu.model.Deportista> findByMap(
		java.util.Map<java.lang.String, java.lang.String> map)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.findByMap(map);
	}

	public java.util.List<slcu.model.Deportista> findByMap(
		java.util.Map<java.lang.String, java.lang.String> map, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.findByMap(map, start, end);
	}

	public long countByMap(
		java.util.Map<java.lang.String, java.lang.String> map)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.countByMap(map);
	}

	public java.util.List<slcu.model.Deportista> findByEscuelaEstado(
		long escuelaId, int inscripcionStatus, int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.findByEscuelaEstado(escuelaId,
			inscripcionStatus, start, end);
	}

	public long countByEscuelaEstado(long escuelaId, int inscripcionStatus)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.countByEscuelaEstado(escuelaId,
			inscripcionStatus);
	}

	public java.util.List<slcu.model.Deportista> findByRegionEstado(
		java.lang.String region, int inscripcionStatus, int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.findByRegionEstado(region,
			inscripcionStatus, start, end);
	}

	public long countByRegionEstado(java.lang.String region,
		int inscripcionStatus)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _deportistaLocalService.countByRegionEstado(region,
			inscripcionStatus);
	}

	public void countEscuelaEstadoByRegion(java.lang.String region) {
		_deportistaLocalService.countEscuelaEstadoByRegion(region);
	}

	public java.util.List<slcu.model.Deportista> filterByCategoriaId(
		java.util.List<slcu.model.Deportista> listDeportistas, long categoriaId) {
		return _deportistaLocalService.filterByCategoriaId(listDeportistas,
			categoriaId);
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedService}
	 */
	public DeportistaLocalService getWrappedDeportistaLocalService() {
		return _deportistaLocalService;
	}

	/**
	 * @deprecated Renamed to {@link #setWrappedService}
	 */
	public void setWrappedDeportistaLocalService(
		DeportistaLocalService deportistaLocalService) {
		_deportistaLocalService = deportistaLocalService;
	}

	public DeportistaLocalService getWrappedService() {
		return _deportistaLocalService;
	}

	public void setWrappedService(DeportistaLocalService deportistaLocalService) {
		_deportistaLocalService = deportistaLocalService;
	}

	private DeportistaLocalService _deportistaLocalService;
}